package com.jieyang.oa.service;

import com.github.pagehelper.PageInfo;
import com.jieyang.oa.pojo.Vo.AuditVo;
import com.jieyang.oa.pojo.Vo.EmpInfoVo;
import com.jieyang.oa.pojo.entity.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("employeeService")
public interface EmployeeService {
    public List<Employee> selectLeader(Integer emptyPe);

    public Integer insert(Employee employee);

    public PageInfo<Employee> selectByPage(int pageNum, int pageSize, Employee employee);

    public EmpInfoVo selectByEmpId(String empId);

    public Integer update(Employee employee);

    public Employee selectEmpByEmpId(String empId);

    public Integer delete(String empId);

    public Integer initPwd(String empId);
}
